Rotten mud: awstats is used to analyze nginx logs and awstatsnginx
This document consistsIlanniwebProviding friendship sponsorship, first launchedThe world
For more articles, follow my ilanniweb
Yesterday, nginx logs were cut. For how to cut
Awstats website traffic statistics, mainly used
Install, Setup and Use AWStatsAWStats common use is made in 3 steps:
Step 0: The install and setupStep 1: The build/update of statistics
Step 2: The reading of results
Before starting, check that your
Awstats introduction 1awstats is a Perl-based web log analysis tool that supports cross-platform, user-friendly, and detailed analysis. It also supports multiple language operation interfaces, 2awstats advantages awstats can analyze all the data in
AWStats is a fast-growing Perl-based web log analysis tool on SourceForge. Compared With Webalizer, an excellent open-source log analysis tool, AWStats has the following advantages:
1. User-friendly: You can directly call the corresponding language
1. configuring Nginx Automatic Log cutting is different from ApacheHTTPServer (Apache). Apache can redirect the log output through pipelines to enable automatic log cutting. Nginx in the current version has not been the same as Apache, using
You don't have to have the patience to read everything: Brief installation instructions are as follows install http://sourceforge.net/projects/awstats/Download installation package: gnu/ Linux:tar zxf awstats-version.tgz awstats scripts and
You do not have to patiently read all the content: brief installation instructions are as follows:
Install
Http://sourceforge.net/projects/awstats/ download installation package:GNU/Linux: tar zxf awstats-version.tgz
Awstats scripts and static files
Awstats function
One: Traffic, number of visits, page views, clicks, data flow, etc.Second: Accurate to the monthly, daily, hourly dataThird: Visitor CountryFour: Visitor IPV: Statistics of the Robots/spidersVI: Duration of visitorsSeven:
AWStats (AdvancedWebStatistics) is a free log analysis tool that can collect statistics on site visits, visits, page views, clicks, and data traffic, you can count the browsing times by month, date, week, or hour, or view the visitor's country or
AWStats (Advanced Web Statistics) is a free log analysis tool that collects Statistics on site visits, visits, page views, clicks, and data traffic, you can count the browsing times by month, date, week, or hour, or view the visitor's country or
Objective:
Awstats is a Perl based WEB log analysis tool that develops quickly on SourceForge, and a full log analysis allows Awstats to display your following information:
Number of visits, unique visitors,Access time and last visit,User
The first two are all about how to deploy the Awstats log Analysis tool under Nginx, and now it's finally Apache. As a veteran Web server, Awstats's support for Apache is perfect, so the entire configuration process is very simple. So, here I
Previously, I used GoogleAnalytics to analyze the website. I felt that it was not very good for users to make one more request, so I analyzed and counted apachelog. It took about an hour to install and test awstats, which was better than expected.
1. download the latest AWStats from the official website and decompress it.# Unzip awstats-6.95.zip# Music Video awstats-6.95/usr/local/AWStats
2. install and configure AWStats. Take the website phpadmin.dean.com on my server as an example. Change
First, experimental Steps and ResultsFirst Stage Build Apache website Service
Hstname
OS
Ip
Software
Www.benet.com
CentOS-6.5
192.168.1.200
Httpd-2.2.17.tar.gzAwstats-7.0.zip
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.